package jzqb.dao;

import jzqb.bo.AdminPermissionGroupBo;
import jzqb.bo.AdminPermissionGroup_getuserBo;
import jzqb.bo.QBZSBo;
import jzqb.bo.StandardBo;
import jzqb.common.Result;
import jzqb.po.AdminPermissionGroupPo;
import jzqb.po.AdminUserPo;

import java.util.List;

public interface AdminPermissionDao {
    List<AdminPermissionGroupPo> cutList(AdminPermissionGroupBo adminPermissionGroupBo);
    long cutCount(AdminPermissionGroupBo adminPermissionGroupBo);

    List<AdminUserPo> cutList_(AdminPermissionGroup_getuserBo adminUserInfoBo);

    List<AdminUserPo> cutList_switchShow(AdminPermissionGroup_getuserBo adminUserInfoBo);

    long cutCount_(AdminPermissionGroup_getuserBo adminUserInfoBo);

    long cutCount_switchShow(AdminPermissionGroup_getuserBo adminUserInfoBo);

    boolean addeditPermissionGroup(AdminPermissionGroupPo adminPermissionGroupPo);

    boolean deletePermissionGroup(AdminPermissionGroupPo adminPermissionGroupPo);

    boolean permissionCheck(String ID,String[] permissions);

    public Result getPermissionTreeExisted(String permissionGroupID);

    boolean checkDataPermission(String userid, QBZSBo qbzsBo,String accessType);

    boolean addBrowseDownLoadLog(String operateType, String userId, StandardBo bo);

}
